package com.huazhi.wzsnw.mapper;

import com.huazhi.wzsnw.model.Xzzd;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface XzMapper {

    public int insert(Xzzd xzzd);

    public List<Xzzd> selectByTitle(@Param("title") String title);

    public  List<Xzzd> selectAll();

    public  Xzzd selectById(Integer id);

    public  List<Xzzd> selectVyPid(Integer pid);

    public  int deleteByTitle(String title);

    public  List<Xzzd> selectByIds(@Param("ids") List<Integer> ids);

    List<Xzzd> selctZxNotInIds(@Param("xzIds") List<Integer> xzIds,@Param("pid") Integer pid);
}
